package com.smedi.ismedi.personnel.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-6-24 17:22
 */
@Data
@ApiModel("BatchExistingPersonVo")
public class BatchExistingPersonRequest implements Serializable {
    @ApiModelProperty(value = "人员id", required = true)
    @NotNull(message = "人员id为空！")
    private List<Long> personIds = new ArrayList<>();

    @ApiModelProperty(value = "项目组织id", required = true)
    @NotNull(message = "项目组织id为空！")
    private Long hrOrganizationId;
}
